﻿#region Copyright
/* Product of DTL Software
 * Product Name : Support Memmory
 * Author : dinhtienlam.spkt@gmail.com
 * About: Developer of DTL Software
 * Contact : 0966 330 237
 */
#endregion

using System;

namespace Lamdt.MVCSharp.Core.Configuration.Views
{
    #region Documentation
    /// <summary>
    /// Views managers throw this exception if unable to find an
    /// appropriate view among their <see cref="Lamdt.MVCSharp.Core.Views.IViewsManager.ViewInfos"/>
    /// collection.
    /// </summary>
    #endregion
    public class ViewInfoNotFoundException : Exception
    {
        #region Documentation
        /// <summary>
        /// Constructor taking the name of the view with missing description.
        /// </summary>
        #endregion
        public ViewInfoNotFoundException(string viewName)
            : base("ViewInfo object not found for '" + viewName + "' view")
        { }
    }
}
